<%@ page language="java" pageEncoding="UTF-8"
	errorPage="/ui/defaultException.jsp"%>
<%@include file="/ui/tags.jsp"%>
<c:forEach var="loc" items="${locations }">
	<div class="trip-area-mod" data-tripdest_id="${loc.tripdestId }"
		data-location_name="${loc.name }"
		data-location_id="${loc.locationId }">
		<div class="trip-area-mod-title">${loc.name }</div>
		<c:if test="${loc.categoryId != -1 }">
			<div class="trip-area-mod-img">
				<img src="${image_domain }${loc.image}@!small"></img>
			</div>
		</c:if>
		<c:if test="${loc.categoryId == -1 }">
			<div class="trip-area-mod-img"
				style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #666; border-top-style: solid; border-top-width: 1px; border-top-color: #666;">
				<c:choose>
					<c:when test="${fn:contains(loc.image,'trip_traffic')}">
						<img src="${image_domain }${loc.image}" style="padding-left: 74px;padding-top: 50px;"/>
					</c:when>
					<c:otherwise>
						<img src="${image_domain }${loc.image}@!small" />
					</c:otherwise>
				</c:choose>
				
			</div>
		</c:if>
		<div class="trip-area-mod-button">
			<a href="javascript:void(0)">添加</a>
		</div>
	</div>
</c:forEach>